import request from '../../../utils/request'

//获取任务安排列表
export const GetTaskArranges=function GetTaskArranges(data: any){
    return request({
        url:'/api/Practice/GetTaskArranges',
        method:'get',
        params:data
    })
}

//获取关卡安排列表
export const GetLevelArranges=function GetLevelArranges(data: any){
    return request({
        url:'/api/Practice/GetLevelArranges',
        method:'get',
        params:data
    })
}

//新增任务安排
export const AddTaskArrange=function AddTaskArrange(data: any){
    return request({
        url:'/api/Practice/AddTaskArrange',
        method:'post',
        data:data
    })
}

//新增关卡安排
export const AddLevelArrange=function AddTaskArrange(data: any){
    return request({
        url:'/api/Practice/AddLevelArrange',
        method:'post',
        data:data
    })
}